import request from '@/utils/request'

// 查询设备告警记录列表
export function listLog(query) {
    return request({
      url: '/alarm/log/list',
      method: 'get',
      params: query
    })
  }
  
  // 查询设备告警记录详细
  export function getLog(id) {
    return request({
      url: '/alarm/log/' + id,
      method: 'get'
    })
  }